[Manager Summary]

PMGetIndexedPrinterResolution


Obtains a particular resolution for the current printer.
OSStatus PMGetIndexedPrinterResolution(UInt32 index, PMResolution *res)
PARAMETERS
index
An index to the list of all possible resolutions supported for the current printer. Supply the index associated with the particular resolution you wish to obtain. (Indices are 1-based.) You can use the function PMGetPrinterResolutionCount to determine the number of possible resolution settings.
res
A pointer to a structure of type PMResolution. On return, this structure contains resolution information associated with the index you supply in the index parameter.
function result
This function returns a result code of PMNoSuchIndex if the index value you specify doesn’t correspond to a valid resolution.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.